import Vue from 'vue'
import VueRouter from 'vue-router'
import options from './config'

Vue.use(VueRouter)

const routes = options.routes

// console.log(routes)
// 打印出来routes数组

const router = new VueRouter({
  routes
})

export default router
